import React,{useState} from 'react'
import ChartBar from './components/ChartBar'
export default function App() {
  const [optionsData]=useState({
    xkey:['衬衫', '羊毛衫', '雪纺衫', '裤子', '高跟鞋', '袜子'],
    y1key:[5, 20, 36, 10, 10, 20],
    y2key:[10,40,72,20,20,40],
    y3key:[5,6,7,8,9,10]
  })
  return (
    <div>
       <ChartBar optionsData={optionsData} height={"380px"} seriesName="销量" title="MIShow10份销售情况"></ChartBar>
    </div>
  )
}
